//
//  CartoonDetailsCollectionViewCell.m
//  Cartoon
//
//  Created by dllo on 15/10/31.
//  Copyright © 2015年 YSZ. All rights reserved.
//

#import "CartoonDetailsCollectionViewCell.h"

@implementation CartoonDetailsCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.myLabel = [UILabel new];
        _myLabel.textAlignment = NSTextAlignmentCenter;
        _myLabel.layer.borderWidth = 1;
        [self.contentView addSubview:_myLabel];
    }
    return self;
}
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _myLabel.frame = self.bounds;
}
@end
